package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * --- ONE PIECE ---
 *
 * @author yangjiangcheng
 * @date 2025/8/16
 * @desc
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class StudentVO extends Student{
    private Classroom classroom;
    // 封装多个学科信息
    private List<Subject> subjectList;

    public void setSubjectListV2(List<Subject> subjectList) {
        this.subjectList = subjectList;
    }
}